package top.yudoge.dogeeditor.app.query

import javax.validation.constraints.NotBlank
import javax.validation.constraints.NotNull

data class ChatRewriteQuery(
    @NotBlank(message = "sessionId cannot be blank")
    val sessionId: String,
    @NotBlank(message = "dataSourceIdentifier cannot be blank")
    val dataSourceIdentifier: String,
    @NotBlank(message = "databaseName cannot be blank")
    val databaseName: String,
    @NotBlank(message = "schemaName cannot be blank")
    val schemaName: String,
    @NotNull(message = "tableSelected cannot be null")
    val tableSelected: List<String>,
    val code: String,
    @NotBlank(message = "userTask cannot be blank")
    val userTask: String,
    @NotBlank(message = "modelName cannot be blank")
    val modelName: String
)